
package com.iot.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

import com.iot.common.feign.annotation.EnableFeignClientsExt;

/**
 * 认证授权中心 //https://www.cnblogs.com/typ1805/p/14077843.html
 * https://www.jianshu.com/p/7ccc4c639828
 * https://www.jb51.net/article/188259.htm
 */
@ComponentScan(basePackages = { "com.iot.common.security.feign." })
@EnableDiscoveryClient
@EnableFeignClientsExt(basePackages = "com.iot.manage.api.feign")
@SpringBootApplication
@ComponentScan(basePackages = { "com.iot.*" })


public class SecurityAuthApplication {
	public static void main(String[] args) {
		SpringApplication.run(SecurityAuthApplication.class, args);
	}

}
